package cn.kgm.user.dto.entity;

import cn.kgm.core.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.SuperBuilder;

/**
 * # 技术改变自己 #
 * 用户设备IP绑定关系
 * @author kappi
 * @date   2024-04-08 13:28:48
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "user_equipment_ip")
@ApiModel(value = "UserEquipmentIp", description = "用户设备IP绑定关系")
public class UserEquipmentIp extends Entity<Long>{

    /**
     * 设备表的ID索引
     */
    @ApiModelProperty(value = "设备表的ID索引")
    @TableField(value = "eqpt_id")
    private Long eqptId;

    /**
     * IP表的ID索引
     */
    @ApiModelProperty(value = "IP表的ID索引")
    @TableField(value = "ip_id")
    private Long ipId;
}
